package com.gy.service;

import com.aaa.entity.OrderCharge;
import com.aaa.entity.OrderChargeItem;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gy.vo.ChargeVo;

import java.util.List;

/**
 * @Author GaoYa
 * @Date 2023/3/24 11:03
 * @Version 1.5
 */
public interface OrderChargeService {
    Result<IPage<OrderCharge>> findAll(Integer current, Integer size, ChargeVo charge);

    Result<List<OrderChargeItem>> findAllUserId(String orderId);

    Result<Integer> CashCharges(String orderId);
    Result payForItem(String orderId);
}
